package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

@MappingTable(tableName = "ANT_DEPT")
public class Dept extends BaseObject {
	@MappingColumn(columnName = "DEPT_ID", columnPk = true, columnLength = 32)
	private String deptId;
	@MappingColumn(columnName = "DEPT_PARENT_ID")
	private String deptParentId;
	@MappingColumn(columnName = "DEPT_LOGO")
	private String deptLogo;
	@MappingColumn(columnName = "DEPT_CODE")
	private String deptCode;
	@MappingColumn(columnName = "DEPT_NAME")
	private String deptName;
	@MappingColumn(columnName = "DEPT_ADDRESS")
	private String deptAddress;
	@MappingColumn(columnName = "DEPT_LINKMAN_NAME")
	private String deptLinkmanName;
	@MappingColumn(columnName = "DEPT_LINKMAN_MOBILE")
	private String deptLinkmanMobile;
	@MappingColumn(columnName = "DEPT_PRINT_SN")
	private String deptPrintSn;
	@MappingColumn(columnName = "DEPT_PRINT_KEY")
	private String deptPrintKey;
	@MappingColumn(columnName = "DEPT_TRY_DAY")
	private Integer deptTryDay;
	@MappingColumn(columnName = "DEPT_TYPE")
	private Integer deptType;
	@MappingColumn(columnName = "DEPT_CREATE_TIME")
	private Date deptCreateTime;
	@MappingColumn(columnName = "PROVINCE_ID")
	private String provinceId;
	@MappingTable(tableName = "BASE_PROVINCE")
	private Province province;
	@MappingColumn(columnName = "CITY_ID")
	private String cityId;
	@MappingTable(tableName = "BASE_CITY")
	private City city;
	@MappingColumn(columnName = "DISTRICT_ID")
	private String districtId;
	@MappingTable(tableName = "BASE_DISTRICT")
	private District district;

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptParentId() {
		return deptParentId;
	}

	public void setDeptParentId(String deptParentId) {
		this.deptParentId = deptParentId;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getDeptAddress() {
		return deptAddress;
	}

	public void setDeptAddress(String deptAddress) {
		this.deptAddress = deptAddress;
	}

	public String getDeptLogo() {
		return deptLogo;
	}

	public void setDeptLogo(String deptLogo) {
		this.deptLogo = deptLogo;
	}

	public String getDeptLinkmanName() {
		return deptLinkmanName;
	}

	public void setDeptLinkmanName(String deptLinkmanName) {
		this.deptLinkmanName = deptLinkmanName;
	}

	public String getDeptLinkmanMobile() {
		return deptLinkmanMobile;
	}

	public void setDeptLinkmanMobile(String deptLinkmanMobile) {
		this.deptLinkmanMobile = deptLinkmanMobile;
	}

	public String getDeptPrintSn() {
		return deptPrintSn;
	}

	public void setDeptPrintSn(String deptPrintSn) {
		this.deptPrintSn = deptPrintSn;
	}

	public String getDeptPrintKey() {
		return deptPrintKey;
	}

	public void setDeptPrintKey(String deptPrintKey) {
		this.deptPrintKey = deptPrintKey;
	}

	public Integer getDeptTryDay() {
		return deptTryDay;
	}

	public void setDeptTryDay(Integer deptTryDay) {
		this.deptTryDay = deptTryDay;
	}

	public Integer getDeptType() {
		return deptType;
	}

	public void setDeptType(Integer deptType) {
		this.deptType = deptType;
	}

	public Date getDeptCreateTime() {
		return deptCreateTime;
	}

	public void setDeptCreateTime(Date deptCreateTime) {
		this.deptCreateTime = deptCreateTime;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getDistrictId() {
		return districtId;
	}

	public void setDistrictId(String districtId) {
		this.districtId = districtId;
	}

	public Province getProvince() {
		return province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public District getDistrict() {
		return district;
	}

	public void setDistrict(District district) {
		this.district = district;
	}
}
